﻿namespace Traffic.Entity;

/// <summary>
/// 订单客户对应班次
/// </summary>
public partial class OrderListInfoFrequency
{
    public int Id { get; set; }

    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime CreateDate { get; set; }

    /// <summary>
    /// 对应OrderList.ID
    /// </summary>
    public int OrderId { get; set; }

    /// <summary>
    /// 对应OrderList_Info.ID
    /// </summary>
    public int InfoId { get; set; }

    /// <summary>
    /// 乘客ID  对应UserData.Contact.ID
    /// </summary>
    public int ContactId { get; set; }

    /// <summary>
    /// 对应Frequency.ID
    /// </summary>
    public int FrequencyId { get; set; }

    /// <summary>
    /// 班次号
    /// </summary>
    public string? FreNumber { get; set; }

    /// <summary>
    /// 班次线路名
    /// </summary>
    public string? LineName { get; set; }

    /// <summary>
    /// 始发地
    /// </summary>
    public string? FromPlace { get; set; }

    /// <summary>
    /// 目的地
    /// </summary>
    public string? ToPlace { get; set; }

    public string? Seat { get; set; }

    /// <summary>
    /// 可变更班次的时间止
    /// </summary>
    public DateTime EditableTime { get; set; }

    /// <summary>
    /// 变更班次次数  默认0，最多1
    /// </summary>
    public int ChangeTimes { get; set; }

    /// <summary>
    /// 班车发班时间
    /// </summary>
    public DateTime SetTime { get; set; }

    /// <summary>
    /// 单程金额
    /// </summary>
    public decimal Price { get; set; }

    /// <summary>
    /// 是否已验票
    /// </summary>
    public bool Checked { get; set; }

    public DateTime? CheckTime { get; set; }

    /// <summary>
    /// 验票人ID
    /// </summary>
    public int CheckerId { get; set; }

    /// <summary>
    /// 验票人
    /// </summary>
    public string? Checker { get; set; }

    /// <summary>
    /// 状态  默认1正常  0：作废  1：正常
    /// </summary>
    public bool Status { get; set; }

    /// <summary>
    /// 预计上车时间
    /// </summary>
    public DateTime? GetOnTime { get; set; }

    /// <summary>
    /// 预计到达时间
    /// </summary>
    public DateTime? GetOffTime { get; set; }
}
